package com.board.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "修改后台账号密码参数对象")
public class UpdateAdminPassForm {
    @ApiModelProperty("老密码")
    @NotNull(message = "老密码不能为空")
    private String oldPass;
    @ApiModelProperty("新密码")
    @NotNull(message = "新密码不能为空")
    private String newPass;
}
